package com.yin97.kotiln

import com.yin97.kotiln.bean.FuckGoods
import com.yin97.kotiln.bean.JsonResult
import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.Path


/**
 * Created by meishiyiyun on 2017/5/25.
 */
interface RetrofitService {
    @GET("{ower}.daily.json")
    fun getUser(@Path("ower") ower : String): Observable<String>


    @GET("data/Android/10/{page}")
    fun getAndroidData(@Path("page") page :Int) :Observable<JsonResult<List<FuckGoods>>>

    /**
     * iOS所有数据
     */
    @GET("data/iOS/10/{page}")
    fun getiOSData(@Path("page") page:Int):Observable<JsonResult<List<FuckGoods>>>

    /**
     * 妹子
     */
    @GET("data/福利/10/{page}")
    fun getGirlData(@Path("page") page:Int):Observable<JsonResult<List<FuckGoods>>>
}